home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / borland / prbgi097.zip / C.ZIP / SCROLL.H < prev    next >
C/C++ Source or Header  |  1992-12-15  |  1KB  |  38 lines

  1. #ifdef ForPascal
  2.    #include "global.h"
  3. #endif
  4.  
  5.  
  6. typedef struct _Rectangle
  7.       {
  8.          void far *addr;
  9.          int       width,  /* in bytes */
  10.                    height;
  11.          //
  12.          void far* (huge pascal *XYoffsetProc) ( struct _Rectangle  *R_ptr, int x, int y );
  13.       } Rectangle;
  14.  
  15.  
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19.  
  20. int far pascal ScrollGraph( int graphdriver, int graphmode,
  21.                             int x1,int y1, int x2,int y2, int w,int h);
  22. void far pascal MoveRectangle (
  23.                                 Rectangle *R1, int x1, int y1,
  24.                                 Rectangle *R2, int x2, int y2,
  25.                                 int w, int h );
  26. int far pascal SetRvalues( int graphdriver, int graphmode,
  27.                            Rectangle *R,short *PixelsInByte);
  28.  
  29.  
  30. void far* huge pascal XY_Hercules ( Rectangle *R, int x, int y );
  31. void far* huge pascal XY_CGA ( Rectangle *R, int x, int y );
  32. void far* huge pascal XY_EGA ( Rectangle *R, int x, int y );
  33. void far* huge pascal XY_bitLinear ( Rectangle *R, int x, int y );
  34.  
  35. #ifdef __cplusplus
  36.    }
  37. #endif
  38.